import request from '@/utils/request'

// 查询数据录入列表
export function listData_entry(query) {
  return request({
    url: '/lims/data_entry/list',
    method: 'get',
    params: query
  })
}

// 查询数据录入详细
export function getData_entry(id) {
  return request({
    url: '/lims/data_entry/' + id,
    method: 'get'
  })
}

// 新增数据录入
export function addData_entry(data) {
  return request({
    url: '/lims/data_entry',
    method: 'post',
    data: data
  })
}

// 修改数据录入
export function updateData_entry(data) {
  return request({
    url: '/lims/data_entry',
    method: 'put',
    data: data
  })
}

// 删除数据录入
export function delData_entry(id) {
  return request({
    url: '/lims/data_entry/' + id,
    method: 'delete'
  })
}
